﻿using System;
using Castle.ActiveRecord;

namespace MVCActiveRecordIntegration.Models {
    [ActiveRecord(Lazy = true)]
    public class Person : PersonBase<Person> {
        [PrimaryKey]
        public virtual int Id { get; set; }

        [Property]
        public virtual string FirstName { get; set; }

        [Property]
        public virtual string LastName { get; set; }

        [Property]
        public virtual DateTime DateOfBirth { get; set; }
    }
}